<?php
/**
 * Description of db
 *
 * @author jordan.stevens
 */
class db {
	var $mysql;
	function __construct()
	{
		$paramLine = explode(" ",file_get_contents("settings.txt"));
		$mysql = new mysqli($paramLine[0],$paramLine[3],$paramLine[4],$paramLine[2],$paramLine[1]);
	}
	function login($username,$password)
	{
	}
	function record_installation()
	{
	}
	function register_product($productid)
	{
	}
}

$db = new db();

?>
